﻿Imports GalaSoft.MvvmLight

Namespace FL_8x0.Model

    Public Class UserSettingModel : Inherits ViewModelBase

        Private _errorLimit As UShort
        Private _lockTime As UShort
        Private _replacementCycle As UShort
        Private _timeToLock As UShort

        Public Sub New()

        End Sub

        Public Sub New(errorLimit As UShort, lockTime As UShort, replacementCycle As UShort, timeToLock As UShort)
            _errorLimit = errorLimit
            _lockTime = lockTime
            _replacementCycle = replacementCycle
            _timeToLock = timeToLock
        End Sub


        Public Property ErrorLimit As UShort
            Get
                Return _errorLimit
            End Get
            Set
                _errorLimit = Value
            End Set
        End Property

        Public Property LockTime As UShort
            Get
                Return _lockTime
            End Get
            Set
                _lockTime = Value
            End Set
        End Property

        Public Property ReplacementCycle As UShort
            Get
                Return _replacementCycle
            End Get
            Set
                _replacementCycle = Value
            End Set
        End Property

        Public Property TimeToLock As UShort
            Get
                Return _timeToLock
            End Get
            Set
                _timeToLock = Value
            End Set
        End Property
    End Class
End Namespace